﻿// -----------------------------------------------------------------------
// <copyright file="TaskOpenMPQ.cs" company="DarkBone">
// DarkBone
// </copyright>
// -----------------------------------------------------------------------

namespace DarkBone.Engine.Tasks
{
   using System;

   /// <summary>
   /// Task to Read Memory
   /// </summary>
   [Serializable]
   public class TaskOpenMPQ : Task
   {
      /// <summary>
      /// Filename
      /// </summary>
      private readonly string filename;

      /// <summary>
      /// Console output
      /// </summary>
      private string output;

      /// <summary>
      /// Initializes a new instance of the <see cref="TaskOpenMPQ"/> class.
      /// </summary>
      /// <param name="filename">The argument.</param>
      public TaskOpenMPQ(string filename)
      {
         this.Id = ID.OpenMPQ;
         this.filename = filename;
      }

      /// <summary>
      /// Gets or sets the Output
      /// </summary>
      /// <value>
      /// The output.
      /// </value>
      public string Output
      {
         get
         {
            return this.output;
         }

         set
         {
            this.output = value;
         }
      }

      /// <summary>
      /// Gets filename
      /// </summary>
      public string Filename
      {
         get
         {
            return this.filename;
         }
      }
   }
}
